/*
 * @Author: wangchao
 * @Date: 2024-10-04 14:00:56
 * @LastEditors: wangchao
 * @LastEditTime: 2024-10-08 15:43:35
 * @FilePath: \JD-RTT-Driver\applications\u_port_io.h
 * @Description:
 * Copyright (c) 2024 by Bingshan Guardian, All Rights Reserved.
 */

#ifndef _U_PORT_IO_H_
#define _U_PORT_IO_H_

#define _ON_       (0x1)
#define _OFF_      (0x0)
#define _HAVE_ON_  (0x0)
#define _HAVE_OFF_ (0x1)

/*————————————————————————————————————————————*/
/**
 *      ==========  DO 输出端口定义  ==========
 */
/**
 *   @ A正极回液阀门 & A负极回液阀门同启同停
 **/
#define DO_OUT_EVC101_EVC102_OPEN_PIN  1U
#define DO_OUT_EVC101_EVC102_CLOSE_PIN 1U

/**
 *   @ B正极回液阀门 & B负极回液阀门同启同停
 **/
#define DO_OUT_EVC201_EVC202_OPEN_PIN  1U
#define DO_OUT_EVC201_EVC202_CLOSE_PIN 1U

/**
 *   @ A正极混液阀启停引脚
 **/
#define DO_OUT_EVC103_OPEN_PIN  1U
#define DO_OUT_EVC103_CLOSE_PIN 1U

/**
 *   @ A负极混液阀启停引脚
 **/
#define DO_OUT_EVC104_OPEN_PIN  1U
#define DO_OUT_EVC104_CLOSE_PIN 1U

/**
 *   @ B正极混液阀启停引脚
 **/
#define DO_OUT_EVC203_OPEN_PIN  1U
#define DO_OUT_EVC203_CLOSE_PIN 1U

/**
 *   @ B负极混液阀启停引脚
 **/
#define DO_OUT_EVC204_OPEN_PIN  1U
#define DO_OUT_EVC204_CLOSE_PIN 1U

/*————————————————————————————————————————————*/
/**
 *      ==========  DI 反馈端口定义  ==========
 */
/**
 *   @ 急停开关按下
 **/
#define DI_RESP_E_STOP_PIN (1u)

/*————————————————————————————————————————————*/

#endif